#ifndef _SE_BUTTONSTATES_
#define _SE_BUTTONSTATES_

#include "Core/Logger.h"

namespace SE
{
	enum class ButtonState
	{
		Press, Release, Repeat, Type
	};

	inline String ToString(const ButtonState state)
	{
		switch (state)
		{
			default: LOG_WARN("Unkown keyboard state: {}", I32(state)); return "";
			case ButtonState::Press:	return "Press";
			case ButtonState::Release:	return "Release";
			case ButtonState::Repeat:	return "Repeat";
			case ButtonState::Type:		return "Type";
		}
	}
} // !namespace SE

#endif // !_SE_BUTTONSTATES_